import sys
from PySide6.QtWidgets import QApplication

from view.message_view import MessageView
from view.adb_log_view import AdbLogView


if __name__ == '__main__':
    try:
        app = QApplication(sys.argv)
        adb_log_view = AdbLogView(app)
        adb_log_view.show()
        sys.exit(app.exec())
    except Exception as e:
        message = MessageView()
        message.show_message(e)
